const http = require('http');
var option={
	host:'localhost',
	port:3000,
	path:'/',
	method:'POST'
}
var req = http.request(option,function(response){
	console.log('状态码：'+response.statusCode);
	console.log('响应头'+response.headers);
	response.setEncoding('utf-8');
	response.on('data',function(data){
		console.log('响应信息------'+data);
	});
});
req.write('{aa:1,bb:2,cc:3}');
req.end();